package com.woniu.apartment.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.core.domain.BaseEntity;

import java.io.Serializable;

/**
 * 公寓设施或服务对象 tb_facility
 *
 * @author yy
 * @date 2023-04-03
 */
@ApiModel(value = "Facility", description = "公寓设施或服务")
public class Facility implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 设施主键 */
    @ApiModelProperty("设施主键")
    private Long id;

    /** 设施名称 */
    @Excel(name = "设施名称")
    @ApiModelProperty("设施名称")
    private String facility;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setFacility(String facility)
    {
        this.facility = facility;
    }

    public String getFacility()
    {
        return facility;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("facility", getFacility())
            .toString();
    }
}
